text history: Update state when enabled changes
authorMatthias Clasen <mclasen@redhat.com>
Sun, 6 Sep 2020 20:59:56 +0000 (16:59 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Sep 2020 21:02:00 +0000 (17:02 -0400)
commit4d45c2669cff32c9d9855ba08f7841975ac585f1
treeb71eb70767b19ee09df5017722650cac7f3c17c5
parentdd8ca7259f6dec3a5a12919379ed994a17593207
text history: Update state when enabled changes

This makes can-undo go FALSE when we disable the
text history, as it should.
gtk/gtktexthistory.c